package com.itheima.service;

import com.itheima.pojo.Category;

import java.util.List;

public interface CategoryService {
    void addCategory(Category category);
    List<Category> getCategory(Integer id);
    Category getDetailById(Integer id);
    Category updateCategoryById(Category category);
    void deleteCategory(Integer id);
}
